<?php
    require_once $_site->get_handlepath('device');
	require_once $_site->get_handlepath('admin');
	require_once $_site->get_handlepath('device');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>顺运通后台应用管理</title>
    <script type="text/javascript" charset="utf-8" src="/static/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" charset="utf-8">
		$(function(){
            $('#start').timepicker({timeFormat: 'hh:mm:ss',showSecond: true});
            $('#end').timepicker({timeFormat: 'hh:mm:ss',showSecond: true});
        })
	</script>
<link rel="stylesheet" type="text/css" href="/static/timepicker/css/jquery-ui.css" />
<script type="text/javascript" src="/static/timepicker/js/jquery-ui.js"></script>
<script type="text/javascript" src="/static/timepicker/js/jquery-ui-slide.min.js"></script>
<script type="text/javascript" src="/static/timepicker/js/jquery-ui-timepicker-addon.js"></script>

	<style type="text/css">
		.table td a.hover{display: line-block;background: #60D277;color: #ffffff;padding:5px;}
		.goodimg{width:280px;background: #efefef none repeat scroll 0 0;border: 1px solid #aad381;}
		.table li{float:left;margin-right: 10px;margin-top: 10px;text-align: center;}
		.table img{margin:5px;}
		.table .text{text-align:left;margin-left:10px;}
		.table .operation{background:#aad381}		
	</style>
    <style type="text/css">
        a{color:#007bc4/*#424242*/; text-decoration:none;}
        a:hover{text-decoration:underline}
        ol,ul{list-style:none}
        body{height:100%; font:12px/18px Tahoma, Helvetica, Arial, Verdana, "\5b8b\4f53", sans-serif; color:#51555C;}
        img{border:none}
        .demo{width:500px; margin:20px auto}
        .demo h4{height:32px; line-height:32px; font-size:14px}
        .demo h4 span{font-weight:500; font-size:12px}
        .demo p{line-height:28px;}
        input{width:200px; height:20px; line-height:20px; padding:2px; border:1px solid #d3d3d3}
        pre{padding:6px 0 0 0; color:#666; line-height:20px; background:#f7f7f7}

        .ui-timepicker-div .ui-widget-header { margin-bottom: 8px;}
        .ui-timepicker-div dl { text-align: left; }
        .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
        .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
        .ui-timepicker-div td { font-size: 90%; }
        .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
        .ui_tpicker_hour_label,.ui_tpicker_minute_label,.ui_tpicker_second_label,.ui_tpicker_millisec_label,.ui_tpicker_time_label{padding-left:20px}
    </style>

</head>
<body>
	<div class="main">
      <form action="/handle.php" method="post" id="form1">
      <input type="hidden" name="h" value="device/edit">
      <input type="hidden" name="id" value="<?php echo $id?>">
		<table cellpadding="0" cellspacing="1" border="0" class="table" style="width: 100%;">
		    <tr>
		       <td style="text-align: center;">
				   <p>开始时间：<input type="text" name="dname" value="00:00:00" id="start" style="width:80px" readonly>&nbsp;&nbsp;截止时间：<input type="text" name="dname" value="<?php echo date('H:'); ?>00:00" id="end"  style="width:80px" readonly></p>
		       </td>
		    </tr>
            <tr>
                <td style="text-align: center;">
                    <input type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" style="width: 100px;height: 30px;" onclick="parent.choosefbtime($('#start').val()+'-'+$('#end').val());" value="选择时间">
                    <input type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" style="width: 100px;height: 30px;" onclick="parent.clearfbtime();" value="清空时间">
                </td>
            </tr>
		</table>
	</form>	
	</div>
</body>
</html>